package spring.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test/index")
@Api("测试控制器")
public class TestController {

    private static final String TAG = "TestController";
    public void index(){

        System.out.println("测试器："+TAG);

    }
    public void masterMethod(){

        System.out.println("主分支方法："+TAG);
        System.out.println("主分支方法1："+TAG);
        System.out.println("主分支方法2："+TAG);

    }

}
